#!/usr/bin/env bash

PREFIX=$(
  cd "$(dirname "$0")"
  pwd
)
cd $PREFIX
if [ ! -d "$PREFIX/node_modules" ]; then
  yarn
fi
bun x cep -o js-src/ -c coffee/
bun x minify js-src -d js
./upload.coffee
